import 'package:kkhousekeep/generated/json/base/json_field.dart';
import 'package:kkhousekeep/generated/json/home_bill_details_once_fee_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class HomeBillDetailsOnceFeeEntity {
	late double itemCost;

	HomeBillDetailsOnceFeeEntity();

	factory HomeBillDetailsOnceFeeEntity.fromJson(Map<String, dynamic> json) => $HomeBillDetailsOnceFeeEntityFromJson(json);

	Map<String, dynamic> toJson() => $HomeBillDetailsOnceFeeEntityToJson(this);

	HomeBillDetailsOnceFeeEntity copyWith({double? itemCost}) {
		return HomeBillDetailsOnceFeeEntity()
			..itemCost= itemCost ?? this.itemCost;
	}

	@override
	String toString() {
		return jsonEncode(this);
	}
}